package com.aldobucchi.ds.container.bag
{
	
	
	import com.aldobucchi.ds.container.IWContainer;

	
	public interface IWBag extends IWContainer
	{
		
		
		
		/**
		 * 
		 * adds "multiplicityDelta" number of occurrences of "e" ( multiplicityDelta can be negative )
		 * 
		 * @param e
		 * @param multiplicityDelta
		 * 
		 */		
		function add( e:*, multiplicityDelta:int ):void;
		
		
		/**
		 * 
		 * Sets the multiplicity of "e" to a given multiplicity, regardless of the old one.
		 * 
		 * @param e
		 * @param absoluteMultiplicity
		 * @return 
		 * 
		 */		
		function setMultiplicity( e:*, absoluteMultiplicity:uint ):void;
		
		
		
	}
	
	
}